home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Forever 4
/
Atari Forever 4.zip
/
Atari Forever 4.iso
/
PD_THEMA
/
HARDDISK
/
HD_DIR
/
HD_DIR.DOC
next >
Wrap
Text File
|
1998-03-14
|
4KB
|
116 lines
This is the documentation file to go with DIR.TTP v1.00.
--------------------------------------------------------
And now, for the utility for your hard disc you've all been waiting
for - a way to find out what's on it. I got so fed up of waiting for
someone else to write one that I did one myself, and here it is. DIR.TTP
is a simple directory utility (in case you hadn't guessed by now) which
is really useful on hard discs. It is also really useful on floppy discs,
but they're normaly less of a problem.
It can be run it with or without parameters. If you specify none,
it'll produce a directory for the current DOS path. If you specify a
different path, it'll produce a directory of that. I told you it was
simple, didn't I? It will list the directory in the form:
----------------------------
Directory for a:\*.*
HDX.PRG 38036 00:10:28 am 20 Nov 1985
HDX.RSC 4576 00:10:38 am 20 Nov 1985
README 1896 00:10:42 am 20 Nov 1985
SHIP.PRG 2292 00:10:46 am 20 Nov 1985
WINCAP 1408 00:10:50 am 20 Nov 1985
5 files found
Directory for a:\AUTO\*.*
AHDI.PRG 3806 00:00:50 am 20 Nov 1985
TIMEDA.PRG 9472 11:48:56 pm 15 Nov 1986
2 files found
Total folders 1
Total files 7
----------------------------
unless you enter '/t' (after path name, if any), in which case it'll
produce something like:
----------------------------
Directory for a:\*.*
HDX.PRG HDX.RSC README SHIP.PRG WINCAP
5 files found
Directory for a:\AUTO\*.*
AHDI.PRG TIMEDA.PRG
2 files found
Total folders 1
Total files 7
----------------------------
It's getting a bit less simple now isn't it? Normaly it puts it's
output onto the VDU, but if you enter something like '>dir_a.lst' after
any new file name, and after any '/t' it will send the output to a
file (in this case, one called 'dir_a.lst'). You can also send it to
the printer with '>PRT:' or to the keyboard with '>KBD:' (is this really
useful?) or wherever. Good init?
One thing I forgot to mention (saving the best bit to last) is that
when it lists a directory, it will also list the CONTENTS of any
sub-directories in it.
Because (I know I'm not supposed to start a sentence with a 'because',
let alone a paragraph, but Atari IS an American company) this is getting
a bit complicated, here are some example parameter lists:
a:\*.* - everything on drive a:
c:\*.txt >d:\dir.lst - all .txt files on drive c:. Output
is placed in a file 'dir.lst' on drive
d:
c:\megamax\ - all files in the folder MEGAMAX
and further down (ie. including
'\MEGAMAX\HEADERS\') on c:
\megamax\*.rsc - all files in the folder MEGAMAX
and further down (ie. including
'\MEGAMAX\HEADERS\') on current drive
ending in '.rsc'
e: /t - everyting from current folder on e:
and down, in five column mode.
b:\junk\p*.c /t >PRT: - left as an exercise for the reader.
This is only version one of this porgram and may well contain a few
bugs. Please feel free to copy it, but if I hear of anyone selling it
I'll be very cross. I'd like to here your comments or suggestions as to how it may
be improved. If you really find it mega useful, you could even send me
5 dollers.
I can be reached on Prestel 01 429 3047 or the OSI Lives! BBS
on 01-429 3047 ring-back V21 (+44 1 429 3047 outside UK), or even Telex
295 141 quoting (yep, you guessed it) 'MBX 014293047' somewhere in the
first line. Snail mail address (for cheques?) is
Frank J Leonhardt
2 Birchmead Ave.
PINNER
Middx HA5 2BG
ENGLAND.
End of file.